package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 标准示范点对象 by_standard_demonstration
 * 
 * @author ruoyi
 * @date 2024-03-12
 */
public class ByStandardDemonstration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 示范点名称 */
    @Excel(name = "示范点名称")
    private String demonName;

    /** 示范点创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "示范点创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date demonTime;

    /** 示范点介绍 */
    @Excel(name = "示范点介绍")
    private String demonContent;

    /** 示范点图片 */
    @Excel(name = "示范点图片")
    private String demonImg;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDemonName(String demonName) 
    {
        this.demonName = demonName;
    }

    public String getDemonName() 
    {
        return demonName;
    }
    public void setDemonTime(Date demonTime) 
    {
        this.demonTime = demonTime;
    }

    public Date getDemonTime() 
    {
        return demonTime;
    }
    public void setDemonContent(String demonContent) 
    {
        this.demonContent = demonContent;
    }

    public String getDemonContent() 
    {
        return demonContent;
    }
    public void setDemonImg(String demonImg) 
    {
        this.demonImg = demonImg;
    }

    public String getDemonImg() 
    {
        return demonImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("demonName", getDemonName())
            .append("demonTime", getDemonTime())
            .append("demonContent", getDemonContent())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("demonImg", getDemonImg())
            .toString();
    }
}
